package com.leyou.time.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient("time-service")
public interface TimeClient {
    @GetMapping("/time/nowTime")
    public String getNowTime();
}
